//
//  BMTabBarController.m
//  BMBlueMoonSFA
//
//  Created by mac on 16/6/5.
//  Copyright © 2016年 www.tang. All rights reserved.
//

#import "BMTabBarController.h"
#import "UIColor+BMExtension.h"
@interface BMTabBarController ()

@end

@implementation BMTabBarController


+(void)initialize
{
    //创建tabbaritem的文字颜色
    [self setupTabBarButtonItemTheme];
    
    //创建tabbar的主题
    [self setupTabBarTheme];

}


+(void)setupTabBarButtonItemTheme{

    
    [[UITabBarItem appearance] setTitleTextAttributes:@{NSFontAttributeName : [UIFont fontWithName:@"HelveticaNeue-Bold" size:12.0F],
                                                            NSForegroundColorAttributeName : [UIColor colorWithHexString:@"1fb8ff"] } forState:UIControlStateSelected];
}

+(void)setupTabBarTheme{

    [UITabBar appearance].hidden = NO;
    [UITabBar appearance].translucent = NO;

}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
